﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp8
{
    class Li
    {
        public string Name {  get ;  set; }
        public int Age {  get;  set; }
        public string Major {  get;  set; }
        public void personal()
        {
            Console.WriteLine("你好，我是{0}，我今年{1}岁了，" +
                "我所学的专业是{2}",Name,Age,Major);
        }
    }
}
